package com.backend.securitiessystem.dto;

import java.io.Serializable;
import java.util.Date;

import com.fasterxml.jackson.annotation.JsonFormat;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * 快讯dto类
 *
 * @author tuyufeng
 * @date 2024/05/19
 */
@Data
public class FlashDto implements Serializable {

    @ApiModelProperty("快讯标题")
    private String title;

    @ApiModelProperty("快讯时间")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date time;

    @ApiModelProperty("快讯类型(1: 信息 , 2: 提示)")
    private Integer type;

    private static final long serialVersionUID = 1L;
}